<template>
  <div>
    <el-form :inline="true" :label-position="'right'"  class="demo-form-inline">
 

    <el-form-item label="流水号">
      <el-input width="1026"  v-model="formData.custSoNumber" placeholder="请输入流水号"></el-input>
    </el-form-item>
  
    <el-form-item class="btnDir">
      <el-button @click="onSubmit">数据传送</el-button>
    </el-form-item>
  </el-form>
  </div>
</template>

<script>
import CustOrderService from "@/api/order/CustOrderService";

export default {
  name: "mytest",
  components: {
   
  },
  data() {
    return {
      formData:{
        custSoNumber:""
      }
    };
  },
  methods:{
   async onSubmit(){
      var res = await CustOrderService.moveData({custSoNumber:this.formData.custSoNumber});
      console.log(res);
       this.$confirm(res.meta, "提示", {
        confirmButtonText: "确定",
        showCancelButton: false,
        type: "success",
        center: true
      });
    }
  }
}
</script>

<style lang="scss" scoped>
.el-form--inline .el-form-item {
  display: inline-flex;
  margin-right: 0.1rem;
  vertical-align: top;
  width: 42%;
}

.el-form-item__label {
  width: 94px;
}
.btnDir {
  margin-left: 36%;
  margin-top: 19px;
}
</style>